package user;

import book.BookList;
import operation.Ioperation;

public abstract class User {
    protected String name;
    protected Ioperation[] ioperations;
    public User(String name) {

        this.name = name;
    }
    public abstract int menu();



    public void doOperations(int choice, BookList bookList){
        this.ioperations[choice].work(bookList);

    }

}
